home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Hardware / Mac OS USB DDK / Mac OS USB DDK 1.4.1 / Examples / USBSampleStorageDriver / StorageClassDriver / StorageClassCBIProtocol.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-25  |  602 b   |  23 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        StorageClassCBIProtocol.h
  3.  
  4.     Contains:    All code specific to handling the Command/Bulk/Interrupt Protocol
  5.                 and the Command/Bulk/No Interrupt Protocol
  6.  
  7.     Version:    1.3
  8.  
  9.     Copyright:    © 1998-1999 by Apple Computer, Inc., all rights reserved.
  10. */
  11.  
  12. #ifndef __STORAGECLASSCBIPROTOCOL__
  13. #define __STORAGECLASSCBIPROTOCOL__
  14.  
  15. #include "StorageClassDriver.h"
  16.  
  17. #define kProtocolCBI            0x00
  18. #define kProtocolCBNoInterrupt    0x01
  19.  
  20. extern OSStatus     StorageClassCBIAbortCommand( StorageExecuteCommandPBPtr cmdPBPtr );
  21. extern OSStatus     StorageClassCBIExecuteCommand( StorageExecuteCommandPBPtr cmdPBPtr );
  22.  
  23. #endif